package com.hn658.base.message.notification.msg.business;


import java.util.List;
import java.util.Map;

import com.hn658.base.message.notification.msg.dto.MsgQueryDTO;
import com.hn658.base.message.notification.msg.entity.MessageEO;
import com.hn658.framework.dataaccess.pagination.GenericPage;

/**
 * Created by baihai on 2015/11/26.
 */
public interface IMessageManager {


    MessageEO save(MessageEO messageEO);
    
    List<MessageEO> queryList(Map<String, Object> queryParam);
    
    /**
	 * 查询私聊消息记录
	 * @param query
	 * @return
	 */
	public GenericPage<MessageEO> querySinglePage(MsgQueryDTO query);
	
	/**
	 * 查询群消息记录
	 * @param query
	 * @return
	 */
	public GenericPage<MessageEO> queryGroupPage(MsgQueryDTO query);
}
